package com.tepth.busfix.bean.reponse;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by zhangyu on 2017/3/23.
 */

public class TroubleType implements Serializable{
    long Id;
    long parentId;
    String parentName;
    String Code;
    String Name;
    boolean IsPublic;
    ArrayList<Process> ListProcess;
    boolean hasSelected;

    public TroubleType() {
    }

    public TroubleType(long id, long parentId, String parentName, String code, String name, boolean isPublic, ArrayList<Process> listProcess, boolean hasSelected) {
        Id = id;
        this.parentId = parentId;
        this.parentName = parentName;
        Code = code;
        Name = name;
        IsPublic = isPublic;
        ListProcess = listProcess;
        this.hasSelected = hasSelected;
    }

    public boolean isHasSelected() {
        return hasSelected;
    }

    public void setHasSelected(boolean hasSelected) {
        this.hasSelected = hasSelected;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public long getId() {
        return Id;
    }

    public void setId(long id) {
        Id = id;
    }

    public String getCode() {
        return Code;
    }

    public void setCode(String code) {
        Code = code;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public boolean isPublic() {
        return IsPublic;
    }

    public void setPublic(boolean aPublic) {
        IsPublic = aPublic;
    }

    public ArrayList<Process> getListProcess() {
        return ListProcess;
    }

    public void setListProcess(ArrayList<Process> listProcess) {
        ListProcess = listProcess;
    }
}
